def reverseMessage(s:str):
    tokens=s.split(' ')
    tokens.reverse()
    return ' '.join(tokens)
print(reverseMessage("the sky is blue"))